package com.heima.crm.pojos.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 线索池
 * </p>
 *
 * @author junjie
 * @since 2023-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_clue_pool")
public class TbCluePool implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 线索id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("clue_id")
    private Long clueId;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 渠道来源
     */
    @TableField("channel")
    private String channel;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private Long activityId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
